const { Adminer,addadmin,dilet,gaiadmin,submitadminer } = require('../dao/AdminerDao')
//获取商家数据
module.exports.Adminer = async function () {
    return await Adminer();
}
module.exports.addadmin=async function(data){
    await addadmin(data)
}
//删除商家
module.exports.dilet=async function(data){
    await dilet(data)
}
//显示修改数据
module.exports.gaiadmin=async function(data){
    return await gaiadmin(data)
}
//修改商家数据
module.exports.submitadminer=async function(data){
    await submitadminer(data)
}
